﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Sahit.iSoilHotel.Application.MainBoundedContext.DTO;
using System.ServiceModel.Web;

namespace Sahit.iSoilHotel.RESTfulDistributedServices.MainBoundedContext.Interfaces
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ITavernService" in both code and config file together.
    [ServiceContract]
    public interface ITavernService
    {
        [OperationContract()]
        [WebGet(UriTemplate = "Login?userName={userName}&password={password}")]
        AccountDTO Login(string userName, string password);
    }
}
